package com.cake.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cake.dao.XxPosterReviewMapper;
import com.cake.entity.XxPosterReview;
import com.cake.service.base.BaseService;
import com.cake.service.inter.IXxPosterReviewService;

/**
 * 配送评论业务层
 * @author Administrator
 *
 */
@Service
@Transactional
public class XxPosterReviewServiceImpl extends BaseService<XxPosterReview> implements IXxPosterReviewService{

	@Autowired
	private XxPosterReviewMapper xxPosterReviewMapper;
	
	@Override
	public List<XxPosterReview> selectPosterReviews(XxPosterReview xxPosterReview) {
		return xxPosterReviewMapper.selectPosterReviews(xxPosterReview);
	}

	@Override
	public XxPosterReview selectPosterReviewDetails(Long posterReviewId) {
		return xxPosterReviewMapper.selectPosterReviewDetails(posterReviewId);
	}

}
